package com.example.manageemployer;

import android.database.DataSetObserver;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ListAdapter;

import java.io.Serializable;

/**
 * Created by VTM VN on 6/4/13.
 */
public class NhanVien extends infor implements Serializable, ListAdapter {
    /**
     *
     */
    private static final long serialVersionUID = 1L;
    private boolean gioitinh;
    private ChucVu chucvu;
    private PhongBan phongban;
    public NhanVien(String ma, String ten, boolean gioitinh, ChucVu chucvu,
                    PhongBan phongban) {
        super(ma, ten);
        this.gioitinh = gioitinh;
        this.chucvu = chucvu;
        this.phongban = phongban;
    }
    public NhanVien(String ma, String ten, boolean gioitinh) {
        super(ma, ten);
        this.gioitinh = gioitinh;
    }
    public NhanVien() {
        super();
    }
    public boolean isGioitinh() {
        return gioitinh;
    }
    public void setGioitinh(boolean gioitinh) {
        this.gioitinh = gioitinh;
    }
    public ChucVu getChucvu() {
        return chucvu;
    }
    public void setChucvu(ChucVu chucvu) {
        this.chucvu = chucvu;
    }
    public PhongBan getPhongban() {
        return phongban;
    }
    public void setPhongban(PhongBan phongban) {
        this.phongban = phongban;
    }
    @Override
    public String toString() {
        // TODO Auto-generated method stub
        return super.toString();
    }

    @Override
    public boolean areAllItemsEnabled() {
        return false;
    }

    @Override
    public boolean isEnabled(int i) {
        return false;
    }

    @Override
    public void registerDataSetObserver(DataSetObserver dataSetObserver) {

    }

    @Override
    public void unregisterDataSetObserver(DataSetObserver dataSetObserver) {

    }

    @Override
    public int getCount() {
        return 0;
    }

    @Override
    public Object getItem(int i) {
        return null;
    }

    @Override
    public long getItemId(int i) {
        return 0;
    }

    @Override
    public boolean hasStableIds() {
        return false;
    }

    @Override
    public View getView(int i, View view, ViewGroup viewGroup) {
        return null;
    }

    @Override
    public int getItemViewType(int i) {
        return 0;
    }

    @Override
    public int getViewTypeCount() {
        return 0;
    }

    @Override
    public boolean isEmpty() {
        return false;
    }
}
